package com.customer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="wallet",path="/wallet")
public interface walletFeign {
    @RequestMapping("/find")
    public String find();

    @RequestMapping("/create/{id}")
    public String create(@PathVariable("id") Integer id);
}
